using System;
using System.Collections.Generic;
using System.Text;

namespace ComputaGuru.SpEAd
{
    public class LinkDescriptor
    {
        public string SourceName;
        public string TargetName;
        public string ConnectorType;
        public EA.DiagramLink Link;

        public LinkDescriptor(EA.DiagramLink sourceLink, string sourceName, string targetName, string connectorType)
        {

            this.SourceName = sourceName;
            this.TargetName = targetName;
            this.ConnectorType = connectorType;
            this.Link = sourceLink;
        }

        public override string ToString()
        {
            return this.ConnectorType + ": " + this.SourceName + ">" + this.TargetName;
        }
    }
}
